//
//  ActivityModel.h
//  ExcellentHome
//
//  Created by 揭婧雯 on 16/8/25.
//  Copyright © 2016年 陈区. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface ActivityModel : NSObject


@property (nonatomic, copy) NSNumber *serviceId;                        //活动ID
@property (nonatomic, copy) NSString *name;                      //活动名称
@property (nonatomic, copy) NSNumber *issuePerson;                         //创建者ID，也用来判断是不是自己创建的活动
@property (nonatomic, copy) NSNumber *activityNum;                         //参加者人数
@property (nonatomic, copy) NSNumber *top;                             //是否置顶
@property (nonatomic, copy) NSString *startDate;                         //活动开始时间  "yyyy-MM-dd HH:mm:ss"
@property (nonatomic, copy) NSString *endDate;                           //活动结束时间
@property (nonatomic, copy) NSString *place;                           //活动地点
@property (nonatomic, copy) NSString *brief;                         //参加活动条件
@property (nonatomic, copy) NSString *sellingPrice;                              //活动费用
@property (nonatomic, copy) NSString *desc;                              //活动详情

@property (nonatomic, copy) NSNumber *servicetypeId;                    //活动类型ID
@property (nonatomic, copy) NSNumber *status;                     //活动状态：发布，启动，关闭
@property (nonatomic, copy) NSString *updateTime;                        //创建刷新时间
@property (nonatomic, copy) NSString *activityGroup;                       //聊天群组ID
@property (nonatomic, copy) NSString *serviceTypeName;                  //活动类型名称
@property (nonatomic, copy) NSNumber *isAttend;                            //是否参加活动
@property (nonatomic, copy) NSString *activityCycle;                        //是否参加活动
@property (nonatomic, copy) NSNumber *version;                           //更新版本号
@property (nonatomic, copy) NSString *pic1;              //活动小图服务器路径


@property (nonatomic, copy) NSString *contact;                           //活动详情发起人 ---
@property (nonatomic, copy) NSString *contactIcon;                       //发起人头像 ---

@property (nonatomic, copy) NSNumber *personNum;                         //每户参加的人数 ---
@property (nonatomic, copy) NSNumber *totalPersonNum;                    //活动总人数 ---

@property (nonatomic, copy) NSString *notifyBuildingIDList;              //活动对象ID列表，用 | 隔开 ---


//@property (nonatomic, strong) NSString *activityID;                        //活动ID serviceId
//@property (nonatomic, strong) NSString *activityName;                      //活动名称 name
//@property (nonatomic, strong) NSString *createrID;                         //创建者ID，也用来判断是不是自己创建的活动 issuePerson
//@property (nonatomic, strong) NSString *joinerNum;                         //参加者人数 activityNum
//@property (nonatomic, strong) NSString *isTop;                             //是否置顶 top
//@property (nonatomic, strong) NSString *beginTime;                         //活动开始时间 startDate
//@property (nonatomic, strong) NSString *endTime;                           //活动结束时间 endDate
//@property (nonatomic, strong) NSString *address;                           //活动地点 place
//@property (nonatomic, strong) NSString *condition;                         //参加活动条件 brief
//@property (nonatomic, strong) NSString *cost;                              //活动费用 sellingPrice
//@property (nonatomic, strong) NSString *desc;                              //活动详情 description
//
//@property (nonatomic, strong) NSString *activityTypeID;                    //活动类型ID servicetypeId
//@property (nonatomic, strong) NSString *activityState;                     //活动状态：发布，启动，关闭 status
//@property (nonatomic, strong) NSString *updateTime;                        //创建刷新时间 updateTime
//@property (nonatomic, strong) NSString *groupChatID;                       //聊天群组ID activityGroup
//@property (nonatomic, strong) NSString *activityTypeName;                  //活动类型名称 serviceTypeName
//@property (nonatomic, strong) NSString *isJoin;                            //是否参加活动 isAttend
//@property (nonatomic, strong) NSString *maxJoinNum;                        //是否参加活动 activityCycle
//@property (nonatomic, strong) NSString *version;                           //更新版本号 version
//
//@property (nonatomic, strong) NSString *smallImageServerPath;              //活动小图服务器路径 pic1
//@property (nonatomic, strong) NSString *smallImageLocalPath;               //活动小图本地路径 ---
//
//@property (nonatomic, strong) NSString *bigImageLocalPath;                 //活动大图本地路径 ---
//@property (nonatomic, strong) NSString *bigImageServerPath;                //活动小图服务器路径 ---
//
//@property (nonatomic, strong) NSString *contact;                           //活动详情发起人 ---
//@property (nonatomic, strong) NSString *contactIcon;                       //发起人头像 ---
//
//@property (nonatomic, strong) NSString *personNum;                         //每户参加的人数 ---
//@property (nonatomic, strong) NSString *totalPersonNum;                    //活动总人数 ---
//
//@property (nonatomic, strong) NSString *notifyBuildingIDList;              //活动对象ID列表，用 | 隔开 ---

//@property (nonatomic, strong) NSString *systemAccountID;                   //所属账号ID ---
//@property (nonatomic, strong) NSString *isRead;                            //是否已读 ---

//@property (nonatomic, strong) NSString *sessionModelID;                    //聊天会话ID ---
//@property (nonatomic, strong) NSString *isShouldDelete;                    //标记删除 ---
//@property (nonatomic, strong) NSString *isCanReceiveMessage;               //是否可以接收消息 ---



+ (instancetype)initWithDictionary:(NSDictionary*)dic;
- (NSDictionary *)getDictionaryFromModel;

@end
